package com.paic.icore.test.demo.dao.impl;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.paic.icore.test.demo.dao.UserRepository;

/**
 * 描述:
 *
 * @author HUXINGJIE666
 * @date 2017年12月27日下午5:40:59
 */
@Repository
public abstract class UserDaoImpl implements UserRepository {
    @PersistenceContext
    private EntityManager entityManager;

    @Override
    public void flush() {
        entityManager.flush();
    }
}
